package com.yunxi.dealer.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.dealer.pojo.PartnerInvoiceVO;

import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 * 渠道商信息开票信息 服务类
 * </p>
 *
 * @author
 * @since 2019-05-14
 */
public interface PartnerInvoiceDubboService {

   PartnerInvoiceVO getById(String id) throws InvocationTargetException, IllegalAccessException;

   void saveOrUpdate(PartnerInvoiceVO partnerInvoiceVO) throws InvocationTargetException, IllegalAccessException;

   void removeById(String id, String partnerCode, LoginInfo loginInfo) throws Exception;

   PageInfo<PartnerInvoiceVO> findPageByVO(PartnerInvoiceVO partnerInvoiceVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

   PartnerInvoiceVO load(String accountCode);
}
